<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <%@ include file="/WEB-INF/jsp/common/meta.jsp" %>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>优速快递客服运营系统</title>
    <link rel="stylesheet" type="text/css" href="${ctx}/sys/common/sysIcon/iconDynamicCss?jsTimer=${jsTimer}"/>
    <link rel="stylesheet" type="text/css" href="${ctx}/static/css/icon.css?jsTimer=${jsTimer}"/>
    <%--<link rel="stylesheet" type="text/css" href="${ctx}/static/css/global.css?jsTimer=${jsTimer}"/>--%>
    <link rel="stylesheet" type="text/css"
          href="${ctx}/static/css/page/index.css?jsTimer=${jsTimer}"/>
    <link rel="stylesheet" type="text/css"
          href="${ctx}/static/custom/css/public.css?jsTimer=${jsTimer}"/>
    <link rel="stylesheet" type="text/css"
          href="${ctx}/static/custom/css/head.css?jsTimer=${jsTimer}"/>
    <!--uce-->
    <link rel="stylesheet" type="text/css" href="${ctx}/uce/iconfont/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="${ctx}/uce/themes/icon.css"/>
    <link rel="stylesheet" type="text/css"
          href="${ctx}/plugins/jquery-easyui/themes/color.css" />
    <link rel="stylesheet" type="text/css" href="${ctx}/uce/themes/default/easyui.css"/>
    <link rel="stylesheet" type="text/css" href="${ctx}/uce/css/reset.css"/>
    <link rel="stylesheet" type="text/css" href="${ctx}/uce/css/common2.css"/>
    <link rel="stylesheet" type="text/css" href="${ctx}/uce/css/yousu.css"/>
    <link type="text/css" rel="stylesheet" href="${ctx}/static/css/ics-main.css?jsTimer=${jsTimer}"/>
    <script src="${ctx}/uce/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="${ctx}/uce/js/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
 <%--   <script src="${ctx}/uce/js/echarts.min.js" type="text/javascript" charset="utf-8"></script>--%>
    <script src="${ctx}/uce/js/hexin.js" type="text/javascript" charset="utf-8"></script>
    <script src="${ctx}/uce/js/easyui-lang-zh_CN.js" type="text/javascript" charset="utf-8"></script>

    <!-- My97DatePicker -->
    <script type="text/javascript" src="${ctx}/plugins/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript"
            src="${ctx}/plugins/jquery-blockUI/jquery.blockUI.js"></script>
    <script type="text/javascript"
            src="${ctx}/plugins/jquery-easyui/extension/datagrid-filter.js?jsTimer=${jsTimer}"></script>
    <script type="text/javascript"
            src="${ctx}/plugins/jquery-easyui/extension/datagrid-detailview.js?jsTimer=${jsTimer}"></script>
    <script type="text/javascript"
            src="${ctx}/plugins/jquery-easyui/extension/datagrid-groupview.js?jsTimer=${jsTimer}"></script>
    <script type="text/javascript" src="${ctx}/plugins/jquery-easyui/jquery.easyui.custom.js?jsTimer=${jsTimer}"></script>
    <script type="text/javascript" src="${ctx}/static/js/jquery.cookie.js"></script>
    <script type="text/javascript" src="${ctx}/static/js/hg/hg.config.js?jsTimer=${jsTimer}"></script>
    <script type="text/javascript" src="${ctx}/static/js/hg/hg.util.js?jsTimer=${jsTimer}"></script>
    <script type="text/javascript" src="${ctx}/static/js/hg/hg.ui.js?jsTimer=${jsTimer}"></script>
    <script type="text/javascript" src="${ctx}/static/js/hg/hg.hotkey.monitor.js?jsTimer=${jsTimer}"></script>
    <script type="text/javascript" src="${ctx}/static/js/hg/hg.moduleClass.js?jsTimer=${jsTimer}"></script>
    <script type="text/javascript" src="${ctx}/static/js/hg/hg.common.js?jsTimer=${jsTimer}"></script>
    <script type="text/javascript" src="${ctx}/static/js/hg/hg.authLocation.js?jsTimer=${jsTimer}"></script>
    <!-- websocket -->
    <script type="text/javascript" src="${ctx}/static/js/ws/sockjs.min.js"></script>
    <script type="text/javascript" src="${ctx}/static/js/ws/stomp.js"></script>
    <!-- WebUploader -->
    <link rel="stylesheet" type="text/css" href="${ctx}/plugins/webuploader/webuploader.css"/>
    <script type="text/javascript" src="${ctx}/plugins/webuploader/webuploader.js"></script>
    <script type="text/javascript" src="${ctx}/static/js/sys/file/hg.webUploadGrid.js?jsTimer=${jsTimer}"></script>
    <!-- ajaxFileUpload -->
    <script type="text/javascript" src="${ctx}/static/js/ajaxfileupload.js"></script>
    <script type="text/javascript" src="${ctx}/static/js/sys/file/hg.ajaxFileUpload.js?jsTimer=${jsTimer}"></script>
    <!-- 富文本编辑器ueditor -->
    <script type="text/javascript" src="${ctx}/plugins/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" src="${ctx}/plugins/ueditor/ueditor.all.js"></script>
    <script type="text/javascript" src="${ctx}/plugins/ueditor/lang/zh-cn/zh-cn.js"></script>
    <!-- jquery局部打印PrintArea-2.4.0 -->
    <script type="text/javascript" src="${ctx}/static/js/jquery.PrintArea.js"></script>
    <!-- echarts报表 -->
    <script type="text/javascript" src="${ctx}/plugins/echarts/echarts.js"></script>
    <!--[if gte IE 9]>
       <!--  ie版本大于等于9时,才会引用该JS yyzh-->
    <script type="text/javascript" src="${ctx}/plugins/zeroclipboard/ZeroClipboard.js"></script>
    <script>
        ZeroClipboard.config({swfPath: "${ctx}/plugins/zeroclipboard/ZeroClipboard.swf"});
    </script>
    <![endif]-->
    <%-- <script type="text/javascript" src="${ctx}/static/js/jquery.jdirk.js?jsTimer=${jsTimer}"></script> --%>

    <!-- validate -->
    <script type="text/javascript"
            src="${ctx}/plugins/jquery-validator/jquery.validate.js"></script>
    <script type="text/javascript"
            src="${ctx}/plugins/jquery-validator/additional-methods.js"></script>
    <script type="text/javascript"
            src="${ctx}/plugins/jquery-validator/localization/messages_zh.js"></script>
    <script src="${ctx}/static/js/main.js" type="text/javascript" charset="utf-8"></script>
</head>
<body class="easyui-layout">
<!--顶部开始-->
<div data-options="region:'north',border:0"  class="top">
    <div class="qk-logo">
        <a href="javascript:;"><img src="${ctx}/uce/images/ys_logo.jpg"/></a>
    </div>

    <div class="qk-right-wrap">
        <div class="hx-wrap">
            <span class="welcome-box">欢迎登陆优速快递智能客服系统！</span>
            <a href="javascript:;"><i class="iconfont icon-huiyuan"></i><span>${sysOrganization.orgName}-${curUser.userName}</span></a>
            <a href="${ctx}/logout"><i class="iconfont icon-msnui-poweroff"></i>退出</a>
        </div>
    </div>

    <div class="menu-wrap">
        <c:if test="${isCallCenter == '1'}">
            <jsp:include page="/WEB-INF/jsp/callcenter/phonebar.jsp"/>
        </c:if>
    </div>
</div>
<!--顶部结束-->
<!--左侧开始-->
<div id="west" data-options="region:'west',border:0" class="leftnav-wrap">
    ${menuHtml}
</div>
<!--左侧结束-->
<!--中间开始-->
<div data-options="region:'center',border:0,bottom:'10px'" class="container-wrap">
    <div class="container-center-wrap">
        <div id="tab" class="easyui-tabs tabs-controlbox" data-options="border:0,resizable:true">
            <div title="首页" data-options="closable:false,resizable:true,href:'${ctx}/${homePageUrl}'" class="nobg-color" style="padding:10px">
            </div>
        </div>
    </div>
</div>
<!--中间结束-->
<!--底部开始-->
<div class="footer" data-options="region:'south',border:0" style="height:40px;border-top: 1px solid #eee;">Copyright © 2018 优速物流有限公司版权所有</div>
<!--底部结束-->
</body>

<script type="text/javascript">
    $(function () {
        hexin.init();
        hexin.leftNavClick();
        hexin.setTableHeight();
        hexin.filterShow();
        hexin.jstablcon();
        //默认都不展开
        $(".leftnav").accordion('getSelected').panel('collapse');
    })

    //是否需要修改密码
    function toChangePassword(changeReason){
        var changePasswordWin = new HgUi.window({
            id : "showChangePersonalPwdWin",
            width : 550,
            height : 300,
            title : "修改密码",
            iconCls : 'icon_auto_blue__sysModifyPwd',
            url : "/showChangePersonalPwd/"+changeReason
        });

        $("#showChangePersonalPwdWin").prev(".panel-header").find(".panel-tool-close").hide();
    }

    $(function() {
        //密码过期修改
        <%--var shouldChangeExpiredPassword = "${shouldChangeExpiredPassword}";--%>
        <%--if (shouldChangeExpiredPassword == "true"){--%>
            <%--toChangePassword("expired");--%>
        <%--}--%>
    });
</script>
<script type="text/javascript" src="${ctx}/static/js/hg/hg.online.timeout.checker.js?jsTimer=${jsTimer}"></script>
<script>
    var onlineTimeoutNumber = parseInt("${h:getProfile('userOnlineTimeout')}");
    if (!isNaN(onlineTimeoutNumber) && onlineTimeoutNumber > 0){
        onlineTimeoutChecker.init(onlineTimeoutNumber);
        onlineTimeoutChecker.callback = function(){
            HgUi.alert('长时间未操作，您的会话已结束！',function ()
            {
                window.location.reload();
            });
        }
        onlineTimeoutChecker.intervalID = window.setInterval(onlineTimeoutChecker.intervalFunction, 10*1000);
    }
</script>

</html>

 
